﻿using Service.Framework.Packet;

namespace Service.Framework
{
    public interface IKnownException
    {
        /// <summary>
        /// 状态码
        /// </summary>
        StatusCode StatusCode { get; }


        /// <summary>
        /// 返回包格式的消息
        /// </summary>
        String Mesaage { get; }

        /// <summary>
        /// 返回包格式的消息体，默认为Null
        /// </summary>
        String Content { get; }
    }
}
